//
//  Image.h
//  代理模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol Image <NSObject>

-(void) display;

@end

@interface RealImage : NSObject <Image>
- (instancetype)initWithFileName:(NSString *)fileName;
@end

@interface ProxyImage : NSObject <Image>
- (instancetype)initWithFileName:(NSString *)fileName;
@end
